﻿using WeDonekRpc.Helper.Validate;

namespace Basic.HrRemoteModel.PdfSign.Model
{
    public class PdfSign
    {
        /// <summary>
        /// 页码
        /// </summary>
        [NumValidate("file.pdf.index.error", 1)]
        public int Index
        {
            get;
            set;
        }
        /// <summary>
        /// 签名文件ID
        /// </summary>
        [NumValidate("file.pdf.sign.file.id.error", 1)]
        public long SignFileId
        {
            get;
            set;
        }

        /// <summary>
        /// 图片文件ID
        /// </summary>
        [NumValidate("file.sign.file.id.error", 1)]
        public long FileId
        {
            get;
            set;
        }
        /// <summary>
        /// 宽度
        /// </summary>
        [NumValidate("file.sign.width.error", 1)]
        public int Width
        {
            get;
            set;
        }
        /// <summary>
        /// 高度
        /// </summary>
        [NumValidate("file.sign.height.error", 1)]
        public int Height
        {
            get;
            set;
        }
        [NumValidate("file.sign.x.error", 1)]
        public int X
        {
            get;
            set;
        }
        [NumValidate("file.sign.y.error", 1)]
        public int Y
        {
            get;
            set;
        }
        public string Reason { get; set; }
        public string Location { get; set; }
    }
}
